package com.bjpowernode.crm.workbench.service;

import com.bjpowernode.crm.workbench.domain.Activity;

import java.util.List;
import java.util.Map;

public interface ActivityService {

    //创建市场活动
    int SaveCreateActivity(Activity activity);

    //查询操作
    List<Activity> queryActivityByConditionForPage(Map<String,Object> map);

    //查询总数目
    int queryCountOfActivityByCondition(Map<String,Object> map);

    //根据市场活动id来批量删除数据
    int deleteActivityByIds(String[] id);

    //根据id来查询市场活动
    Activity selectActivityById(String id);

    //保存编辑信息
    int saveEditActivity(Activity activity);
}
